﻿@model DealKhuyenMaiV2.com.Models.LogOnModel

@{
    ViewBag.Title = "Log On";
    Layout = "~/Views/Shared/_MemberGuestLayout.cshtml";
}

<!DOCTYPE html>
<html>
    <head>
        <link href="@Url.Content("/Content/DefaultThemes/Styles/login.css")" rel="stylesheet" type="text/css" />
    </head>

    <body>
        <div class="body-left">
            <!--Unknown-->
            <!-- UPD 27.10.3 -->
            <div class="middle-box-white">
                <div class="middle-box-title">
                    <div class="left">
                        <h3>
                            <span class="middle-size">Đăng nhập</span>hay<a href="@Url.Action("Register", "Account")"><span style="color:dodgerblue"> Đăng kí</span></a>
                        </h3>
                    </div>
                    <div class="clear"></div>
                </div>
               
                <div class="middle-box-content">
                  
                <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
                <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

                @Html.ValidationSummary(true, "Đăng nhập không thành công. Vui lòng điền lại")

                @using (Html.BeginForm()) {
                    <div>
                        <fieldset>
                            @*<legend class="lg">Thông tin tài khoản</legend>*@
                            <br />
                            <p>
                                @Html.LabelFor(m => m.Email)
                            </p>
                            <div class="div_txtDK">
                                @Html.TextBoxFor(m => m.Email)
                                @Html.ValidationMessageFor(m => m.Email)
                            </div>

                            <p>
                                @Html.LabelFor(m => m.Password)
                            </p>
                            <div class="div_txtDK">
                                @Html.PasswordFor(m => m.Password)
                                @Html.ValidationMessageFor(m => m.Password)
                            </div>

                            <p class="middle-box-lostpass">
                                <span><a href="@Url.Action("GetPasswordBack", "Account")" id="aQuenMK" class="lostpass">Quên mật khẩu?</a></span>
                            </p>
                            <p>
                                @Html.CheckBoxFor(m => m.RememberMe)
                                @Html.LabelFor(m => m.RememberMe)
                            </p>
                            <p class="middle-box-button-sign">
                                <input type="submit" value="Đăng nhập" id="abtnSignin" class="button_cam"/>
                            </p>
                        </fieldset>
                    </div>
                }
                </div>
            </div>
      </div>
    </body>
</html>